﻿<div id="forms">
<h2>Edit panel</h2>

<%= error_messages_for :panel %>

<% form_for :panel, :url => { :action => :update_panel, :id => @panel} do |f| %>
 
    <%= f.hidden_field :id %>
 
	<p>
    <b>User</b><br />
    <%= f.text_field :user_id %>
  </p>
	<p>
    <b>PanelName</b><br />
    <%= f.text_field :panelName %>
  </p>
  <p>
    <b>Width</b><br />
    <%= f.text_field :width %>
  </p>
	<p>
    <b>Height</b><br />
    <%= f.text_field :height %>
  </p>
  <p>
    <%= f.submit "Edit domain" %>
  </p>
<% end %>
</div>